package com.estate.report.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 数据统计表
 *
 * @author jpp
 * @since  2025/10/26
 */
@Data
@TableName("data_statistics")
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties(ignoreUnknown = true)
@ApiModel(value = "DataStatistics", description = "统计数据实体")
public class DataStatistics {

    @TableId
    private Long id;

    @ApiModelProperty("用户邮箱")
    private String email;

    @ApiModelProperty("统计类型")
    private String type;

    @ApiModelProperty("日期")
    private Date time;

    @ApiModelProperty("统计数据jsonb")
    private String data;

}
